package C7_4_InineClass;

public class TelephoneNumber {

    private String _areaCode;
    private String _number;

    String getAreaCode(){
        return _areaCode;
    }
    void setAreaCode(String arg){
        _areaCode = arg;
    }

    String getNumber(){
        return _number;
    }

    void setNumber(String arg){
        _number = arg;
    }

    public String getTelePhoneNumber(){
        return ("(" + _areaCode + ") " + _number);
    }

}
